Paper 69-25 PROC FREQ: It’s More Than Counts
نویسنده
چکیده
The FREQ procedure can be used for more than just obtaining a simple frequency distribution or a 2-way cross-tabulation. Multidimension tables can be analyzed using proc FREQ. There are many options which control what statistical test is performed as well as what output is produced. Some of the tests require that the data satisfy certain conditions. Some options produce a set of results from which one must select appropriately for the situation at hand. Which of the results produced by using the CHISQ option should one use? What is the WEIGHT statement for? Why would one create an output data set with the OUT= option? This paper (beginning tutorial) will answer these questions as many of the options available in Proc FREQ are reviewed.
منابع مشابه
Analysis of a Binary Outcome Variable Using the FREQ and the LOGISTIC Procedures
ABSTRACT A common application in the health care industry is to investigate the association between a response variable interest that has dichotomous outcome such as having or not having a certain disease with one or more variables. This type of study can be analyzed by using the FREQ procedure if there are only one or two explanatory categorical variables. A more general approach to study a bi...
متن کاملUsing SAS® Procedures FREQ, GENMOD, LOGISTIC, and PHREG to Estimate Adjusted Relative Risks – A Case Study
We present nine methods to compute an adjusted relative risk (RR). These methods evolved over the past 25 years (1985–2010) via SAS/STAT® procedures: FREQ, GENMOD, LOGISTIC, and PHREG. We also compare the strengths and limitations of these methods, using an observational cohort study for illustration. INTRODUCTION The relative risk (RR) is a common measure of the effect of treatment or exposure...
متن کاملJeffreys Interval for One-Sample Proportion with SAS/STAT Software
This paper introduces Jeffreys interval for one-sample proportion using SAS® software. It compares the credible interval from a Bayesian approach with the confidence interval from a frequentist approach. Different ways to calculate the Jeffreys interval are presented using PROC FREQ, the QUANTILE function, a SAS program of random walk Metropolis sampler, and PROC MCMC.
متن کاملContrasting programming techniques for summarizing voluminous SAS output using the SAS Output Delivery System (ODS) (PROC FREQ as an example) Stuart Long, Westat
SAS® ODS provides programmers with the ability to extract selected information from a procedure and store it in datasets. Such datasets can then be combined to summarize the results from numerous procedures. The SAS Macro facility can be used to execute and extract information from repetitively called SAS procedures. “Macro Variable Arrays” can simplify the extraction of information from SAS pr...
متن کاملBeyond Breslow-Day: Homogeneity Across R x C Tables
In the epidemiological world, we often encounter the following analytical question: is the relationship between exposure and outcome different for different strata? The Breslow-Day test (with or without the Tarone adjustment) can be used in PROC FREQ to assess homogeneity across a series of 2 x 2 tables, but what if your tables are not 2 x 2? One alternative is to fit a log-linear model to a k ...
متن کامل